package com.aaa.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 宋文森
 * @Date: 2021/01/30/18:49
 * @Description: 租户信息表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("renter_info")
@Component
public class RenterInfo implements Serializable {

    /**
     * id      租户id(自增)
     * name    租户所属公司
     * contact  联系人
     * phone   手机号
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String  name;
    private String  contact;
    private String  phone;


}
